<template>
  <div>
    <div>
      <el-button type="primary">主要按钮</el-button>
      <el-table :data="application" style="width: 100%">
        <el-table-column prop="id" label="id" width="180">
        </el-table-column>
        <el-table-column prop="username" label="账号" width="180">
        </el-table-column>
        <el-table-column prop="password" label="密码" width="180">
        </el-table-column>
        <el-table-column prop="telephone" label="电话"> </el-table-column>
        <el-table-column prop="realname" label="姓名"> </el-table-column>
        <el-table-column prop="gender" label="性别"> </el-table-column>
        <el-table-column prop="birth" label="出生日期"> </el-table-column>
        <el-table-column prop="email" label="电子邮件"> </el-table-column>
        <el-table-column prop="autograph" label="个性签名"> </el-table-column>
        <el-table-column prop="is_free" label="is_free"> </el-table-column>
        <el-table-column prop="status" label="身份"> </el-table-column>
        <el-table-column prop="use_face" label="使用时间"> </el-table-column>
        <el-table-column prop="address" label="地址"> </el-table-column>
        <el-table-column prop="nation" label="国籍"> </el-table-column>
        <el-table-column prop="register_time" label="注册时间"> </el-table-column>
        <el-table-column prop="introduce" label="简介"> </el-table-column>

      </el-table>
    </div>
  </div>
</template>

<script>
import { get } from "@/utils/request";
export default {
  data() {
    return {
      application: [],
      visible: false
    };
  },
  methods: {
    loadApplication() {
      let url = "http://120.77.41.127:8888/baseUser/query";
      get(url).then(resp => {
        this.application = resp.data;
      });
    }
  },
  created() {
    this.loadApplication();
  }
};
</script>

<style lang="sass" scoped>

</style>